<template>
	<view class="newChild">
		<view class="newChild_block bottom" @click="newDemand()">
			<view class="block_left">
				<image src="https://m.nocexpo.com/statics/js/modules/h5/img/write.png" mode=""></image>
				<view class="block_title">
					<text>发需求</text>
				</view>
			</view>
			<view class="block_right">
				<uni-icons type="right"></uni-icons>
			</view>
		</view>
		<view class="newChild_block top" @click="newShipin">
			<view class="block_left">
				<image src="https://m.nocexpo.com/statics/js/modules/h5/img/photo.png" style="width: 90rpx;height: 90rpx;"></image>
				<view class="block_title">
					<text >发视频</text>
				</view>
			</view>
			<view class="block_right">
				<uni-icons type="right" ></uni-icons>
			</view>
		</view>
		<view class="newChild_block middle" @click="newDongtai">
			<view class="block_left">
				<image src="https://m.nocexpo.com/statics/js/modules/h5/img/earth.png" mode=""></image>
				<view class="block_title">
					<text >发动态</text>
				</view>
			</view>
			<view class="block_right">
				<uni-icons type="right" ></uni-icons>
			</view>
		</view>
		
	</view>
</template>

<script>
	export default {
		data(){
			return{
				
			}
		},
		methods:{
			newDemand(){
				this.$store.state.tabNew=false
				uni.navigateTo({
					url:'/pages/tabBar/new/newDemand'
				})
			},
			newDongtai(){
				this.$store.state.tabNew=false
				uni.navigateTo({
					url:"../../product/imageText/uploadImgText"
				})
			},
			newShipin(){
				this.$store.state.tabNew=false
				uni.navigateTo({
					url:"../../product/vidoDetail/uploadVideo"
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.newChild::v-deep{
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom:100rpx;
		background-color: rgba(0,0,0,.6);
		z-index: 999;
		display: flex;
		align-content: flex-end;
		flex-wrap: wrap;
		.newChild_block{
			// width: 85%;
			// height: 140rpx;
			width: 600rpx;
			height: 112rpx;
			border-radius: 12rpx 12rpx 12rpx 12rpx;
			padding: 20rpx 20rpx;
			box-sizing: border-box;
			margin: 0 auto;
			margin-bottom: 30rpx;
			border-radius: 20rpx;
			display: flex;
			justify-content: space-between;
			.block_left{
				display: flex;
				image{
					width: 100rpx;
					height:100rpx;
					margin-top: -12rpx;
					margin-left: 30rpx;
					
				}
				.block_title{
					font-size: 28rpx;
					font-weight: 550;
					color: #262626;
					text-align: center;
					line-height: 76rpx;
					margin-left: 20rpx;
					
				}
				
			}
			.block_right{
				font-size: 50rpx;
				line-height: 76rpx;
				margin-right: 28rpx;
			}
			
		}
		.newChild_block:last-child{
			margin-bottom: 100rpx;
		}
		.top{
			background-color: #DEECFF;
		}
		.middle{
			background-color: #FFF7F1;
		}
		.bottom{
			background-color: #E9FFFE;
		}
	}
</style>